
package pe.com.android.model.dao;

/**
 * @author Marko Ramirez Larzo
 */
public abstract class DAOFactory {
    public static final int MYSQL = 1;
    public static final int ORACLE = 2;
    public static final int SQLSERVER = 3;
    
    public static DAOFactory getDAOFactory(int tipoBD){
        DAOFactory  daoFactory = null;
        switch(tipoBD){
            case 1: daoFactory = new MySqlDAOFactory(); break;
            case 2: daoFactory = null;
            case 3: daoFactory = null;
        }
        return daoFactory;
    }
    
    public abstract UsuarioDAO getUsuarioDAO();
    public abstract UbicacionDAO getUbicacionDAO(); 
    public abstract RemitoTrasladoDAO getRemitoTrasladoDAO(); 
}
